Optimal. Leaf size=73 \[ -\frac {2^{p-1} \left (\frac {e x}{d}+1\right )^{-p-1} \left (d^2-e^2 x^2\right )^{p+1} \, _2F_1\left (1-p,p+1;p+2;\frac {d-e x}{2 d}\right )}{d^2 e (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {678, 69} \[ -\frac {2^{p-1} \left (\frac {e x}{d}+1\right )^{-p-1} \left (d^2-e^2 x^2\right )^{p+1} \, _2F_1\left (1-p,p+1;p+2;\frac {d-e x}{2 d}\right )}{d^2 e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 678
Rubi steps
\begin {align*} \int \frac {\left (d^2-e^2 x^2\right )^p}{d+e x} \, dx &=\frac {\left ((d-e x)^{-1-p} \left (1+\frac {e x}{d}\right )^{-1-p} \left (d^2-e^2 x^2\right )^{1+p}\right ) \int (d-e x)^p \left (1+\frac {e x}{d}\right )^{-1+p} \, dx}{d^2}\\ &=-\frac {2^{-1+p} \left (1+\frac {e x}{d}\right )^{-1-p} \left (d^2-e^2 x^2\right )^{1+p} \, _2F_1\left (1-p,1+p;2+p;\frac {d-e x}{2 d}\right )}{d^2 e (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 75, normalized size = 1.03 \[ -\frac {2^{p-1} (d-e x) \left (\frac {e x}{d}+1\right )^{-p} \left (d^2-e^2 x^2\right )^p \, _2F_1\left (1-p,p+1;p+2;\frac {d-e x}{2 d}\right )}{d e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.87, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{p}}{e x + d}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{p}}{e x + d}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.05, size = 0, normalized size = 0.00 \[ \int \frac {\left (-e^{2} x^{2}+d^{2}\right )^{p}}{e x +d}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (-e^{2} x^{2} + d^{2}\right )}^{p}}{e x + d}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (d^2-e^2\,x^2\right )}^p}{d+e\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 7.32, size = 321, normalized size = 4.40 \[ \begin {cases} \frac {0^{p} \log {\left (-1 + \frac {e^{2} x^{2}}{d^{2}} \right )}}{2 e} + \frac {0^{p} \operatorname {acoth}{\left (\frac {e x}{d} \right )}}{e} + \frac {d e^{2 p} p x^{2 p} e^{i \pi p} \Gamma \relax (p) \Gamma \left (\frac {1}{2} - p\right ) {{}_{2}F_{1}\left (\begin {matrix} 1 - p, \frac {1}{2} - p \\ \frac {3}{2} - p \end {matrix}\middle | {\frac {d^{2}}{e^{2} x^{2}}} \right )}}{2 e^{2} x \Gamma \left (\frac {3}{2} - p\right ) \Gamma \left (p + 1\right )} + \frac {d^{2 p} e x^{2} \Gamma \relax (p) \Gamma \left (1 - p\right ) {{}_{3}F_{2}\left (\begin {matrix} 2, 1, 1 - p \\ 2, 2 \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 d^{2} \Gamma \left (- p\right ) \Gamma \left (p + 1\right )} & \text {for}\: \left |{\frac {e^{2} x^{2}}{d^{2}}}\right | > 1 \\\frac {0^{p} \log {\left (1 - \frac {e^{2} x^{2}}{d^{2}} \right )}}{2 e} + \frac {0^{p} \operatorname {atanh}{\left (\frac {e x}{d} \right )}}{e} + \frac {d e^{2 p} p x^{2 p} e^{i \pi p} \Gamma \relax (p) \Gamma \left (\frac {1}{2} - p\right ) {{}_{2}F_{1}\left (\begin {matrix} 1 - p, \frac {1}{2} - p \\ \frac {3}{2} - p \end {matrix}\middle | {\frac {d^{2}}{e^{2} x^{2}}} \right )}}{2 e^{2} x \Gamma \left (\frac {3}{2} - p\right ) \Gamma \left (p + 1\right )} + \frac {d^{2 p} e x^{2} \Gamma \relax (p) \Gamma \left (1 - p\right ) {{}_{3}F_{2}\left (\begin {matrix} 2, 1, 1 - p \\ 2, 2 \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )}}{2 d^{2} \Gamma \left (- p\right ) \Gamma \left (p + 1\right )} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________